From f80309d43143c81de1261d669e8b995e171ea73a Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 31 Jan 2012 16:34:39 +0000 Subject: [PATCH] libxl: remove libxl_button_press in favour of libxl_send_trigger. send_trigger already included all the operations covered by button_press. Rework send_trigger to take an enum instead of a string. I stopped short at removing the xl "button-press" command but instead have marked it as deprecated. Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- docs/man/xl.pod.1 | 4 +- tools/libxl/libxl.c | 82 +++++++++++----------------- tools/libxl/libxl.h | 4 +- tools/libxl/libxl_types.idl | 7 ++- tools/libxl/xl_cmdimpl.c | 20 +++++-- tools/ocaml/libs/xl/xenlight.ml.in | 4 +- tools/ocaml/libs/xl/xenlight.mli.in | 4 +- tools/ocaml/libs/xl/xenlight_stubs.c | 19 +------ 8 files changed, 61 insertions(+), 83 deletions(-) diff --git a/docs/man/xl.pod.1 b/docs/man/xl.pod.1 index 28237d367b..51948144a4 100644 --- a/docs/man/xl.pod.1 +++ b/docs/man/xl.pod.1 @@ -86,6 +86,8 @@ previously, most commands take I as the first parameter. =item B I I